<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Login Page</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="css/login.css" rel="stylesheet">

</head>

<body>

<div class="container">

    <div class="row">
        <div class="col-sm-6 col-md-4 col-md-offset-4">
            <h1 class="text-center login-title">Bienvenido a ifact</h1>

            <div class="account-wall">
                <img class="profile-img"
                     src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120"
                     alt="">

                <form:form class="form-signin" action="/login.do" commandName="loginForm" method="post">
                    <form:input type="text" path="enterpriseCode" class="form-control" placeholder="Enterprise" required="true" autofocus="true"/>
                    <form:input type="text" path="email" class="form-control" placeholder="Email" required="true"/>
                    <form:input type="password" path="password" class="form-control" placeholder="Password" required="true" />
                    <form:button class="btn btn-lg btn-primary btn-block" type="submit">
                        Sign in
                    </form:button>
                    <label class="checkbox pull-left">
                        <input type="checkbox" value="remember-me">
                        Recuerdame
                    </label>
                    <a href="#" class="pull-right need-help">Ayuda? </a><span class="clearfix"></span>
                </form:form>
            </div>
            <a href="#" class="text-center new-account">Crea una cuenta </a>
        </div>
    </div>
</div>
<!-- /container -->


<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
</body>
</html>
